ib 18.2 calculations involving acids and bases